package com.tianma315.admin.check.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.check.domain.KeepSampleDO;
import com.tianma315.admin.check.vo.KeepSampleVO;
import com.tianma315.admin.common.base.CoreService;

import java.util.List;

/**
 * 
 * <pre>
 * 
 * </pre>
 * <small> 2019-07-08 16:57:00 | wen</small>
 */
public interface KeepSampleService extends CoreService<KeepSampleDO> {
    Page<KeepSampleDO> keepSamplePage(Integer pageNumber, Integer pageSize, KeepSampleDO keepSampleDTO);

    boolean addKeepSample(KeepSampleDO keepSampleDO);

    boolean deleteKeepSample(Integer id);

    List<KeepSampleVO> getKeepSampleByBatchAndProductId(String batch, Long productId);
}
